﻿namespace Vkontakte.Api.Database
{
	public interface IImageCache
	{
		bool IsCached(string url);
		byte[] GetImage(string url);
		void SaveImage(string url, byte[] image);
	}

	public interface IPlacesCache
	{
		bool IsCountriesInited { get; }
		string GetCountryName(int countryID);
		void SaveCountryName(int countryID, string title);

		string GetCityName(int cityID);
		void SaveCityName(int cityID, int countryID, string title);
	}
}